<h1>Editing fragment</h1>

<% form_for(@fragment) do |f| %>
  <%= f.error_messages %>

  <%= render :partial => 'form', :locals => { :f => f } %>
  
  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= link_to 'Show', @fragment %> |
<%= link_to 'Back', fragments_path %>
